<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>网站跳转</title>
	</head>
	<body>
		<select id="siteSel" name="" onchange="doAtion()">
			<option value ="">请选择网站</option>
			<option value ="HTTP://www.baidu.com">百度跳转</option>
			<option value ="http://www.163.comhttps//www.baidu.com">网易跳转</option>
			<option value ="http://www.taobao.com">淘宝跳转</option>
		</select>
	</body>
	<script type="text/javascript">
		function doAtion(){
			//获取id地址
			var webUrl=document.getElementById('siteSel').value;
			location.href=webUrl;
			
		}
	</script>
</html>
